<?php
$config[ 'use_database' ] = true;

$config[ 'view_parser' ] = 'basic';

$config[ 'default_controller' ] = 'home';
$config[ 'default_controller_method' ] = 'index';

$config[ 'index_page' ] = ''; //default can be index.php, with .htaccess could be empty

$config[ 'use_sessions' ] = true;
$config[ 'session_cookie_name' ] = 'FrameSession';
$config[ 'session_lifetime' ] = 86400;

$config[ 'bbcodes_list' ] = array(
    'b' => array(
        'type' => 1,//double
        'opening' => '<strong>',
        'closing' => '</strong>'
    ),
    'u' => array(
        'type' => 1,//double
        'opening' => '<span style="text-decoration: underline">',
        'closing' => '</span>'
    ),
    'url' => array(
        'type' => 1,//double
        'opening' => '<a href="{{PARAM}}" title="{{VALUE}}">',
        'closing' => '</a>'
    ),
    'i' => array(
        'type' => 1,//double
        'opening' => '<em>',
        'closing' => '</em>'
    ),
    'color' => array(
        'type' => 1,
    	'opening' => '<span style="color: {{PARAM}};">',
    	'closing' => '</span>'
    ),
    'font' => array(
        'type' => 1,
    	'opening' => '<span style="font-family: {{PARAM}};">',
    	'closing' => '</span>'
    ),
    'size' => array(
        'type' => 1,
    	'opening' => '<span style="font-size: {{PARAM}}px;">',
    	'closing' => '</span>'
    ),
    'hr' => array(
        'type' => 0,//single
        'closing' => '<hr />'
    ),
);